#!/usr/bin/env bash
{
	start=`date -u +%s`
	./haxserv
	uptime=$((`date -u +%s` - $start))
	if (($uptime < 10)); then
		sleep $((10 - $uptime))
	fi

	exec "$0" "$@"
}
